package com.itheima.mycollection;

public class p06test {
    public static void main(String[] args) {
        p06<String> p06 = new p06<>();
        p06.add("aaa");
        p06.add("bbb");
        p06.add("ccc");
        System.out.println(p06);

        System.out.println(p06.get(0));
        System.out.println(p06.get(1));
        System.out.println(p06.get(2));

    }
}
